<%= error_messages_for :todo %>

<% form_for(:todo, :url => todos_path) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Milestone</b><br />
    <%= f.text_field :milestone_id %>
  </p>

  <p>
    <b>Body</b><br />
    <%= f.text_area :body %>
  </p>

  <p>
    <b>Private</b><br />
    <%= f.check_box :private %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

